﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;

namespace NewDDSys.BLL
{
    public class XkcdtBLL:IXkcdtBLL
    {
        public int Add(XkcdtInfo dt)
        {
            return DALFactory.CreateXkcdtDAL().Add(dt);
        }
        public int Update(string dtnum, decimal kn, decimal dk)
        {
            return DALFactory.CreateXkcdtDAL().Update(dtnum, kn, dk);
        }
        public int UpdateKN(string dtnum, decimal kn)
        {
            return DALFactory.CreateXkcdtDAL().UpdateKN(dtnum, kn);
        }
        public int UpdateDK(string dtnum, decimal dk)
        {
            return DALFactory.CreateXkcdtDAL().UpdateDK(dtnum, dk);
        }
        public int Del(string dtnum)
        {
            return DALFactory.CreateXkcdtDAL().Del(dtnum);
        }
        public DataSet Select(string dtnum)
        {
            return DALFactory.CreateXkcdtDAL().Select(dtnum);
        }
        public DataSet SelectAll(string ku)
        {
            return DALFactory.CreateXkcdtDAL().SelectAll(ku);
        }
        public DataSet SelectPG(string ku)
        {
            return DALFactory.CreateXkcdtDAL().SelectPG(ku);
        }
        public string KuKC(string cday, string ku)
        {
            return DALFactory.CreateXkcdtDAL().KuKC(cday, ku);
        }
        public string JDXC(string cday)
        {
            return DALFactory.CreateXkcdtDAL().JDXC(cday);
        }
        public string PTkc(string cday)
        {
            return DALFactory.CreateXkcdtDAL().PTkc(cday);
        }
        public string PZkc(string cday)
        {
            return DALFactory.CreateXkcdtDAL().PZkc(cday);
        }
        public string ZKC(string cday)
        {
            return DALFactory.CreateXkcdtDAL().ZKC(cday);
        }
    }
}
